<template>
    <div>
        <el-tabs type="border-card" v-model="activeName" @tab-click="handleClick">
            <el-tab-pane label="用户管理" name="AdminUserManage">
                <AdminUserManage></AdminUserManage>
            </el-tab-pane>
            <el-tab-pane label="操作日志管理" name="RoleManage">
                <OperationLogManage></OperationLogManage>
            </el-tab-pane>
            <el-tab-pane label="异常日志管理" name="ExceptionLogManage">
                <ExceptionLogManage></ExceptionLogManage>
            </el-tab-pane>
            <el-tab-pane label="角色管理" name="AdminRoleManage">
                <AdminRoleManage></AdminRoleManage>
            </el-tab-pane>
            <el-tab-pane label="定时任务" name="AdminScheduleManage">
                <AdminScheduleManage></AdminScheduleManage>
            </el-tab-pane>

            <!--            <el-tab-pane label="权限组" name="RoleManage">权限组</el-tab-pane>-->
        </el-tabs>
    </div>
</template>

<script>
    import AdminRoleManage from "../../components/admin/AdminRoleManage";
    import AdminUserManage from "../../components/admin/AdminUserManage";
    import OperationLogManage from "../../components/admin/OperationLogManage";
    import ExceptionLogManage from "../../components/admin/ExceptionLogManage";
    import AdminScheduleManage from "../../components/admin/AdminScheduleManage";

    export default {
        name: "AdminManage",
        data() {
            return {
                activeName: 'AdminUserManage'
            };
        },
        components: {
            AdminRoleManage,
            AdminUserManage,
            OperationLogManage,
            ExceptionLogManage,
            AdminScheduleManage
        },
        methods: {
            handleClick(tab, event) {
                console.log(tab, event);
                console.log(tab, event);
            },
        }
    };
</script>

<style scoped>

</style>